﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;

namespace BCDto.TMS.TransportOrder
{
	/// <summary>
	/// 运输订单
	/// </summary>
	public class TransportOrderDto
	{
		/// <summary>
		/// 运输订单Id
		/// </summary>		
		public long TransportOrderId { get; set; }
		/// <summary>
		/// 运输订单编号
		/// </summary>		
		public string TransportOrderNo { get; set; }
		/// <summary>
		/// 用户Id
		/// </summary>		
		public long UserId { get; set; }
		/// <summary>
		/// 预约订单
		/// </summary>		
		public bool IsBook { get; set; }
		/// <summary>
		/// 预约时间
		/// </summary>		
		public DateTime? BookTime { get; set; }
		/// <summary>
		/// 指派时间
		/// </summary>		
		public DateTime? AssignTime { get; set; }
		/// <summary>
		/// 司机处理
		/// </summary>		
		public DateTime? DriverOrderPromisingTime { get; set; }
		/// <summary>
		/// 完成时间
		/// </summary>		
		public DateTime? CompleteTime { get; set; }
		/// <summary>
		/// 是否已拆单
		/// </summary>		
		public bool IsSplitOrder { get; set; }
		/// <summary>
		/// 订单数量
		/// </summary>		
		public int OrderCount { get; set; }
		/// <summary>
		/// 完成订单数量
		/// </summary>		
		public int CompleteCount { get; set; }
		/// <summary>
		/// 忽略订单数量
		/// </summary>		
		public int IgnoreCount { get; set; }
		/// <summary>
		/// 运单总金额
		/// </summary>		
		public decimal TransportAmount { get; set; }
		/// <summary>
		/// 发货地省份Code
		/// </summary>		
		public string ProvinceCode { get; set; }
		/// <summary>
		/// 发货地省
		/// </summary>		
		public string ProvinceName { get; set; }
		/// <summary>
		/// 发货地市Code
		/// </summary>		
		public string CityCode { get; set; }
		/// <summary>
		/// 发货地市
		/// </summary>		
		public string CityName { get; set; }
		/// <summary>
		/// 发货地区县Code
		/// </summary>		
		public string CountyCode { get; set; }
		/// <summary>
		/// 发货地区县
		/// </summary>		
		public string CountyName { get; set; }
		/// <summary>
		/// 发货地经度
		/// </summary>		
		public double Longitude { get; set; }
		/// <summary>
		/// 发货地纬度
		/// </summary>		
		public double Latitude { get; set; }
		/// <summary>
		/// 最终目的地省份Code
		/// </summary>		
		public string EndProvinceCode { get; set; }
		/// <summary>
		/// 最终目的地省
		/// </summary>		
		public string EndProvinceName { get; set; }
		/// <summary>
		/// 最终目的地市Code
		/// </summary>		
		public string EndCityCode { get; set; }
		/// <summary>
		/// 最终目的地市
		/// </summary>		
		public string EndCityName { get; set; }
		/// <summary>
		/// 最终目的地区县Code
		/// </summary>		
		public string EndCountyCode { get; set; }
		/// <summary>
		/// 最终目的地区县
		/// </summary>		
		public string EndCountyName { get; set; }
		/// <summary>
		/// 最终目的地经度
		/// </summary>		
		public double EndLongitude { get; set; }
		/// <summary>
		/// 最终目的地纬度
		/// </summary>		
		public double EndLatitude { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>		
		public DateTime CreateTime { get; set; }

	}
}

